package model;

public class StudentVO {
	// 멤버변수 선언
	private String hakbun; // 학번
	private String name; // 이름
	private String adress; // 주소
	private int age; // 나이
	private String birth; // 생년월일
	private String depart; // 학과명
	private int professor; // 지도교수
	private String interView; // 면담시간
	
	// 생성자
	public StudentVO(String hakbun,String name,String adress,int age,String birth,String depart,int professor,String interView){
		this.hakbun=hakbun;
		this.name=name;
		this.adress=adress;
		this.age=age;
		this.birth=birth;
		this.depart=depart;
		this.professor=professor;
		this.interView=interView;
	}
	
	// setter
	
/*	public void setXXX(String XXX){
		this.XXX=XXX;
	}*/

	public void setHakbun(String hakbun){
		this.hakbun=hakbun;
	}
	public void setName(String name){
		this.name=name;
	}
	public void setAdress(String adress){
		this.adress=adress;
	}
	public void setAge(int age){
		this.age=age;
	}
	public void setBirth(String birth){
		this.birth=birth;
	}
	public void setDepart(String depart){
		this.depart=depart;
	}
	public void setProfessor(int professor){
		this.professor=professor;
	}
	public void setInterView(String interView){
		this.interView=interView;
	}
	
	//getter
	/*	
		public void getXXX(){
		return XXX;
	}*/	
	
	public String getHakbun(){
		return hakbun;
	}
	public String getName(){
		return name;
	}
	public String getAdress(){
		return adress;
	}
	public int getAge(){
		return age;
	}
	public String getBirth(){
		return birth;
	}
	public String getDepart(){
		return depart;
	}
	public int getProfessor(){
		return professor;
	}
	public String getInterView(){
		return interView;
	}
	
	
	
	@Override
	public String toString() {
		String result ="";
		result += hakbun + "/" + name + "/" + adress + "/" +  age + "/" +  birth; // + "/" +  depart + "/" +  professor + "/" +  interView;
		
		
		return result;
	}
	
	
	
	
	
	
	
	
	
	
	
	

}
